package com.sumover.Service;

import com.sumover.POJO.*;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ArticleService {
    Article queryArticle(Integer articleId);

    List<News> getAllNews();

    List<GameStrategy> getAllStrategy();

    List<GameStrategy> getStrategiesByGame(Game game);

    Article getNewsArticle(News news);

    Article getStrategyArticle(GameStrategy gameStrategy);

    Article getEvluationArticle(GameEvaluation gameEvaluation);

    List<GameEvaluation> getGameEvaluations(Game game);

    ArticleDetail getArticleDetail(Article article);

    Article getArticle(Integer articleId);

    User getArticlePublisher(Article article);

    String getArticleUsername(Integer aid);

    User getArticleUser(Integer aid);

    Article getEvaluationsArticle(GameEvaluation gameEvaluation);

    void addNewEvaluation(Game game, Integer score, String evaluationContent, User loginUser);

    boolean evaluationExist(Game game, User loginUser);
}
